<template>
  <div>
    <router-view v-slot="{ Component }">
      <transition name="fade" appear mode="out-in">
        <component :is="Component" />
      </transition>
    </router-view>
  </div>
</template>

<script lang="ts" setup>
// 引入初始化css样式
import '@/basecss/basecss.min.css'
// 全局注入store
import { provide } from 'vue'
import store from '@/store/index'
provide('store', store)
</script>
